﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace WebMobie.Models.Entities
{
	public class User
	{
		public int UserID { get; set; }

		[DisplayName("Log")]
		public string LogName { get; set; }

		public string Name { get; set; }
		public DateTime? DateOfBirth { get; set; }

		[DisplayName("Last Log")]
		public DateTime? LastLogIn { get; set; }

		[DisplayName("Employee")]
		public bool IsEmployee { get; set; }

		//[DisplayName("Owner")]
		//public bool IsOwner { get; set; }

		[DisplayName("Admin")]
		public bool IsAccessToAdmin { get; set; }


		public bool IsBlocked { get; set; }

		[DisplayName("Time Zone")]
		public short TimeZoneID { get; set; }

		[Required]
		public string Email { get; set; }
		//[Required]
		//public bool IsValidEmail { get; set; }
	}
}